﻿using AutoMapper;
using Hicap.AuthorizationServer.Core.Models;

namespace Hicap.AuthorizationServer.Application.Dto.Mapper
{
    internal static class CustomerUserMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<User, UserListDto>();
            configuration.CreateMap<UserEditDto, User>();
            configuration.CreateMap<UserListDto, UserEditDto>();
            configuration.CreateMap<UserEditDto, UserListDto>();
        }
    }
}